.loading{
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  // background-color: rgba(255, 255, 255, 0.6);
  img{
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}
.body-content{
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: scroll;
  &.hidden {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}
.index{
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: #FEE6C2;
  position: relative;
  z-index: 2;
  .page-title{
    text-align: center;
    font-size: 36px;
    color: #B8140C;
    width: 100%;
    height: 48px;
    line-height: 48px;
    img{
      width: 162px;
      height: 48px;
      pointer-events: none;
      vertical-align: middle;
      margin: 0 30px;
    }
  }
  .top-content{
    position: relative;
    width: 100%;
    height: 416px;
    background: url('../images/202010active/index-top-bg.png') no-repeat center top;
    background-size: 100% 100%;
    .rule-icon{
      position: absolute;
      right: 0;
      top: 30px;
      width: 92px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-size: 24px;
      color: #E72B34;
      border-radius: 50px 0 0 50px;
      background-color: #FDE2B9;
    }
    .swiper{
      width: 400px;
      height: 52px;
      background: #C10B1D;
      opacity: 0.8;
      border-radius: 50px;
      position: absolute;
      left: 24px;
      top: 24px;
      overflow: hidden;
      .lists{
        overflow: hidden;
        width: 100%;
        .item{
          width: 100%;
          height: 52px;
          overflow: hidden;
          .avatar{
            float: left;
            width: 52px;
            height: 52px;
            border: 1px solid #fff;
            border-radius: 50%;
            margin-right: 10px;
            overflow: hidden;
            box-sizing: border-box;
            img{
              width: 100%;
              height: 100%;
              display: block;
            }
          }
          .text{
            float: left;
            width: 320px;
            font-size: 24px;
            color: #fff;
            opacity: 0.8;
            line-height: 52px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }
      }
      &.swiper-move{
        .lists{
          animation: swiperMove 0.5s forwards;
        }
      }
    }
  }
  .red-content-wrap{
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: -20px;
  }
  .red-content{
    width: 100%;
    height: 520px;
    background: url('../images/202010active/index-bg.png') no-repeat center top;
    background-size: 100% 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    text-align: center;
    .list{
      display: inline-block;
      height: 100%;
      font-size: 0;
      position: relative;
      margin: 0 10px;
      .item{
        display: inline-block;
        width: 212px;
        height: 100%;
        position: relative;
        padding:0 10px;
        // &:first-child{
        //   padding-left: 20px;
        // }
        .icon-red{
          width: 64px;
          height: 78px;
          background: url('../images/202010active/red-icon-z.png') no-repeat center top;
          background-size: 99% 100%;
          margin: 0 auto;
        }
        .icon-line{
          width: 10px;
          height: 32px;
          background: url('../images/202010active/red-icon-t.png') no-repeat left top;
          background-size: 100% 99%;
          margin: 10px auto 30px auto;
          border-radius: 16px;
          position: relative;
          z-index: 1;
        }
        .red-wrap{
          width: 100%;
          height: 290px;
          overflow: hidden;
          text-align: center;
          border-radius: 16px;
          box-shadow: 0px 0px 43px 0px rgba(200, 84, 6, 0.5);
          &.opened{
            background: url('../images/202010active/red-status-get-1.png') no-repeat center top;
            background-size: 100% 100%;
            .text{
              font-size: 26px;
              color: #B8140C;
              margin: 34px 0 20px;
            }
            .price{
              font-size: 40px;
              font-weight: bold;
              color: #B8140C;
              margin-bottom: 80px;
              span{
                font-size: 26px;
                font-weight: normal;
              }
            }
            .notice{
              font-size: 24px;
              color: #FEE698;
              line-height: 40px;
            }
          }
          &.wait{
            background: url('../images/202010active/red-status-wait-1.png') no-repeat center top;
            background-size: 100% 100%;
            .text{
              font-size: 30px;
              color: #FEE698;
              margin: 40px 0 165px 0;
            }
            .limit{
              font-size: 26px;
              color: #930E07;
            }
          }
          &.lockup{
            background: url('../images/202010active/red-status-lockup-1.png') no-repeat center top;
            background-size: 100% 100%;
            .text{
              font-size: 30px;
              color: #FEE698;
              margin: 40px 0 165px 0;
            }
            .limit{
              font-size: 26px;
              color: #930E07;
            }
          }
        }
      }
      .progress-content{
        position: absolute;
        top: 88px;
        left: 10px;
        right: 10px;
        height: 32px;
        .progress{
          width: 100%;
          height: 100%;
          box-shadow: inset 0 0 30px 1px #f9c13a;
          border-radius: 50px;
          overflow: hidden;
          position: relative;
        }
        .active{
          position: absolute;
          left: 0;
          top: 0;
          height: 100%;
          box-shadow: inset 0 0 30px #f9c13a;
          background-color: #FCDC47;
          border-radius: 50px 0 0 50px;
        }
      .light-text{
        display: none;
        position: absolute;
        top: 0;
        left: 0px;
        transform: translateY(-150%) translateX(-50%);
        .text{
          background: #fff;
          border-radius: 8px;
          padding: 17px 20px;
          box-shadow: 0px 4px 24px 0px rgba(255, 173, 112, 0.28);
          font-size: 26px;
          color: #B8140C;
          line-height: 26px;
        }
        &::after{
          display: inline-block;
          content: '';
          width: 0;
          height: 0;
          border: 20px solid;
          border-left-width: 15px;
          border-right-width: 15px;
          border-color: #fff transparent transparent transparent;
          position: absolute;
          right: 50%;
          transform: translateX(50%);
          bottom: -40px;
        }
      }
      }
    }
  }
  .time-btn-content{
    width: 100%;
    overflow: hidden;
    margin: 10px 0 35px 0;
    .time{
      width: 500px;
      margin: 0 auto;
      text-align: center;
      height: 60px;
      line-height: 60px;
      font-size: 26px;
      color: #B8140C;
      background: rgba(212, 142, 62, 0.2);
      border-radius: 8px;
      margin-bottom: 24px;
      .text{
        display: inline-block;
        width: 36px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        color: #fff;
        border-radius: 2px;
        background: #B8140C;
      }
    }
    .notice{
      width: 460px;
      margin: 0 auto;
      text-align: center;
      height: 60px;
      line-height: 60px;
      font-size: 26px;
      color: #B8140C;
      background: rgba(212, 142, 62, 0.2);
      border-radius: 8px;
      margin-bottom: 24px;
    }
    .btn{
      overflow: hidden;
      height: 180px;
      width: 100%;
      .btn-wrap{
        width: 100%;
        height: 180px;
        &.fixed-btn-wrap {
          position: fixed;
          left: 0;
          bottom: -40px;
          z-index: 9;
        }
      }
      .image{
        width: 621px;
        height: 180px;
        margin: 0 auto;
        &.image-get{
          background: url('../images/202010active/btn-get.png') no-repeat center top;
          background-size: 100% 100%;
        }
        &.image-help{
          display: none;
          background: url('../images/202010active/btn-help.png') no-repeat center top;
          background-size: 100% 100%;
        }
        &.image-start{
          display: none;
          background: url('../images/202010active/btn-start.png') no-repeat center top;
          background-size: 100% 100%;
        }
      }
    }
  }
  .my-price-content{
    overflow: hidden;
    width: 702px;
    height: 240px;
    margin: 0 auto 20px auto;
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
    box-shadow: inset 0 0 40px #f9c13a;
    border-radius: 30px;
    .page-title{
      margin: 34px 0 40px 0;
    }
    .content{
      .price{
        margin-bottom: 20px;
        .text{
          font-size: 28px;
          color: #AC6810;
        }
        .icon{
          font-size: 36px;
          color: #ED2038;
          font-weight: bold;
        }
        .num{
          font-size: 48px;
          color: #ED2038;
          font-weight: bold;
        }
      }
      .notice{
        font-size: 24px;
        color: #666666;
      }
      .btn{
        width: 174px;
        height: 48px;
        text-align: center;
        line-height: 48px;
        font-size: 28px;
        color: #B8140C;
        background: #FFCB66;
        border-radius: 50px;
        position: absolute;
        right: 30px;
        bottom: 40px;
      }
    }
  }
  .request-list-content{
    width: 702px;
    min-height: 240px;
    box-shadow: inset 0 0 40px #f9c13a;
    margin: 0 auto 60px auto;
    border-radius: 30px;
    overflow: hidden;
    .page-title{
      margin: 30px 0 10px 0;
    }
    .total{
      font-size: 28px;
      color: #ED2038;
      text-align: center;
      margin-bottom: 30px;
    }
    .empty{
      display: none;
      text-align: center;
      font-size: 28px;
      color: #999;
    }
    .list-content{
      width: 100%;
      padding: 0 50px;
      box-sizing: border-box;
      .item{
        display: flex;
        width: 100%;
        margin-bottom: 30px;
        align-items: center;
        .avatar{
          width: 72px;
          height: 72px;
          border-radius: 50%;
          overflow: hidden;
          img{
            display: block;
            width: 100%;
            height: 100%;
          }
        }
        .info{
          padding-left: 20px;
          flex: 1;
          .nickname{
            font-size: 28px;
            color: #AC6810;
          }
          .time{
            font-size: 24px;
            color: #999999;
            margin-top: 15px;
          }
        }
        .mobile{
          font-size: 28px;
          color: #AC6810;
        }
      }
    }
    .notice{
      width: 100%;
      text-align: center;
      font-size: 26px;
      color: #999;
      padding: 10px 0 30px 0;
      #notice-loading,#notice-end{
        display: none;
      }
    }
  }
}
.refresh{
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100px;
  width: 100%;
  // background: rgba(0, 0, 0, 0.4);
  text-align: center;
  line-height: 100px;
  z-index: 0;
  font-size: 26px;
  color: #999;
  #refresh-loading,#refresh-end{
    display: none;
  }
}
// @keyframes swiperMove{
//   0% {
//     transform: translateY(0);
//   }
//   100% {
//     transform: translateY(-26px);
//   }
// }

.my-toast{
  position: fixed;
  display: inline-block;
  padding: 15px 20px;
  font-size: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  max-width: 500px;
  line-height: 30px;
  z-index: 99999;
}